<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
    <title>Demo</title>
</head>
<body>
<script src="js/jquery-1.11.1.min.js"></script>
<script>
    $(document).ready(function()
    {
        console.log($(window).width());
        console.log(typeof $(window).width());
        var mynum=$(window).width();
        if(mynum>750){
            location.href="html/myindexpc.html";
        }else{
            location.href="html/myindexyd.html";
        }
    })
</script>
</body>
</html>